package ai.tubes.iris;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MainMenuActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		mSolve 	= (Button)findViewById(R.id.solve_button);
		mSolve.setOnClickListener(new View.OnClickListener() {
			public void onClick(View arg0) {
				startActivity(new Intent(MainMenuActivity.this.getApplicationContext(), SolveMenuActivity.class));
			}
		});
		
		mEdit	= (Button)findViewById(R.id.edit_button);
		mEdit.setOnClickListener(new View.OnClickListener() {
			public void onClick(View arg0) {
				startActivity(new Intent(MainMenuActivity.this.getApplicationContext(), KnowledgeEditorActivity.class));
			}
		});
	}
	
	private Button mSolve, mEdit;
}
